package mock.bean;

//import com.odianyun.db.mybatis.BaseMapper;

import java.util.List;

public interface SoMapper {//extends BaseMapper<SoPO, Long> {


    void updateByOrderCode(SoPO soPO);

    /**
     * 根据单号查询订单
     *
     * @param orderCode
     * @return
     */
    SoPO getSoByCode(String orderCode);

    /**
     * 根据单号查询订单
     *
     * @param orderCode
     * @return
     */
    SoPO querySoByCode(String orderCode);

    /**
     * 根据父单号查询订单
     *
     * @param parentOrderCode
     * @return
     */
    List<SoPO> selectByParentOrderCode(String parentOrderCode);
}
